package com.hibernate.dao.front;

import java.util.List;
import java.util.Map;

public interface IndexDao{

	//query hql
	public List findCorrelation(String hql);
	
	//front article display
	public Map findArticle(Long id);
	
	//front article list
	public Map findArticleList(int page, int categryID,int jump);
	
	//front product list
	public Map findProductList(int page, int categryID,int jump);
	
	//lucene search
	public Map findSearchResult(String serchString,int page);
	
	//display product
	public Map findProduct(Long id);
}
